#include <comdef.h>
#include <gdiplus.h>

#ifndef ECOSYSTEM_PARAMETERS
#define ECOSYSTEM_PARAMETERS



const unsigned int MAX_SPECIES_COUNT = 12;
const double MAX_RANDOM_TURN_ANGLE = 45.0;

const char *const SPECIES_NAME[] = { "Grass", "Tree", "Ant", "Cow", "Tiger", "Elephant", "Giraffe", "Bird", "Eagle", "Snake", "Frog", "Insect" };
const char *const WEATHER[] = {"Sunny", "Cloudy", "Rainy", "Snowy", "Foggy"};
const char *const SEASON[] = { "Spring", "Summer", "Autumn", "Winter" };
//EcoSystem
const bool ECOSYSTEM_REQUIRE_POSITION_SUM_MAINTEINANCE[] = {false,    //Grass
                                                            false,    //Tree
                                                            false,    //Ant
                                                            false,    //Cow
                                                            true,    //Tiger
                                                            true,    //Elephant
                                                            false,    //Giraffe
                                                            true,    //Bird
                                                            true,    //Eagle
                                                            true,    //Snake
                                                            true,    //Frog
                                                            false    //Insect
                                                            };

const unsigned int SPECIES_COLORS[] = { 0xFF40F00D,
0xFF53B437,
                                        0xff000000,
                                        0xFFF3D40D,
                                        0xFFEA1C1C,
                                        0xFF7F7F7F,
                                        0xFFE86C16,
                                        0xFF1DE6E6,
                                        0xFF384F44,
                                        0xFF384F44,
                                        0xFF1DE6E6,
                                        0xFF000000

};

const unsigned int DOT_D = 8;

const unsigned int    ECOSYSTEM_WIDTH                     = 1000;
const unsigned int    ECOSYSTEM_HEIGHT                 = 700;
const unsigned int    ECOSYSTEM_CHUNKSIZE                 = 32;
const unsigned int    ECOSYSTEM_MAX_ENTITY_FOUND_COUNT = 10;
const unsigned int    ECOSYSTEM_FIND_PREY_TRIAL         = 10;
//FoodWeb
const unsigned int FOODWEB_ARRAY_SIZE = MAX_SPECIES_COUNT;


//Species IDs
const unsigned int GRASS_SPECIES_ID        = 0;
const unsigned int TREE_SPECIES_ID        = 1;
const unsigned int ANT_SPECIES_ID        = 2;
const unsigned int COW_SPECIES_ID        = 3;
const unsigned int TIGER_SPECIES_ID        = 4;
const unsigned int ELEPHANT_SPECIES_ID    = 5;
const unsigned int GIRAFFE_SPECIES_ID    = 6;
const unsigned int BIRD_SPECIES_ID        = 7;
const unsigned int EAGLE_SPECIES_ID        = 8;
const unsigned int SNAKE_SPECIES_ID        = 9;
const unsigned int FROG_SPECIES_ID        = 10;
const unsigned int INSECT_SPECIES_ID    = 11;

//GRASS
const unsigned int GRASS_AVERAGE_LIFE_SPAN = 120;
const unsigned int GRASS_LIFE_SPAN_DISTRIBUTION = 60;
//TREE


//ANT


//COW


//TIGER


//ELEPHANT


//GIRAFFE


//SNAKE


//FROG


//EAGLE


//BIRD


//INSECT

//

const unsigned  int LIFE_SPAN[12] = { 500, 50000, 500, 1000, 1000, 1450, 1800, 1800, 1000, 750, 1200, 1000};
const unsigned int MAX_HP[12] = { 1000, 200000, 800, 35000, 62000, 90000, 82000 };
const  double MAX_SPEED[12] = { 0, 0, 1, 4.0, 7.5, 3.5, 3.8 };

const unsigned int YEAR_LAST = 7200;
#endif